package com.briup.day19;

public class Test_Assert {
    public static void main(String[] args) {
        test(0);
    }

    public static void test(int a) {
        assert a != 0 : "参数a的值不能为0";
        int b = 10;
        int c = b / a;
    }
}
